//
//  HomeTitleButton.swift
//  weibo117
//
//  Created by 宋禹奇 on 15/6/28.
//  Copyright © 2015年 宋禹奇. All rights reserved.
//

import UIKit

class HomeTitleButton: UIButton {

    override func layoutSubviews() {
        super.layoutSubviews()
        
        var tFrame = titleLabel!.frame
        tFrame.origin.x = 0
        titleLabel!.frame = tFrame
        
        var iFrame = imageView!.frame
        iFrame.origin.x = tFrame.width
        imageView!.frame = iFrame
        
        
    }

}
